warp7: Specify CONFIG_OPTEE_LOAD_ADDR
authorBryan O'Donoghue <[email protected]>
Tue, 24 Apr 2018 17:46:37 +0000 (18:46 +0100)
committerStefano Babic <[email protected]>
Thu, 26 Apr 2018 06:52:51 +0000 (08:52 +0200)
commit4bcbfcf458744a84bd82bd7239593f371574bd2c
treed0fad8fc8af1338cc4ed4f86388e652ef459f7d1
parentfbbf44af318b20b61658d2461ff858d5134aa3f5
warp7: Specify CONFIG_OPTEE_LOAD_ADDR

In order to sign images with the IMX code-signing-tool (CST) we need to
know the load address of a given image. The best way to derive this load
address is to make it into a define - so that u-boot.cfg contains the
address - which we can then parse when generating the IMX CST headers.

This patch makes the OPTEE_LOAD_ADDR available via u-boot.cfg for further
parsing by external tools.

Signed-off-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: Ryan Harkin <[email protected]>
Tested-by: Breno Lima <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
configs/warp7_defconfig
include/configs/warp7.h